Package | sora.graybox.event |
Class | public final class GBEventDispatcher |
Inheritance | GBEventDispatcher ![]() |
Implements | IGrayBoxModule |
GBEvent.MIDI_CHANNEL_MESSAGE
MIDIメッセージの入力があったとき、送出されます。GBEvent.MIDI_SYSTEM_MESSAGE
MIDIシステムメッセージの入力があったとき、送出されます。GBEvent.SMF_META_MESSAGE
SMFメタメッセージの入力があったとき、送出されます。See also
Property | Defined By | ||
---|---|---|---|
dispMetaMessage : Boolean = false
SMFメタメッセージのイベント送出フラグです. | GBEventDispatcher | ||
dispSystemMessage : Boolean = false
MIDIシステムメッセージのイベント送出フラグです. | GBEventDispatcher | ||
midiInPorts : int = 0xFFFF
MIDIメッセージ情報の入力ポートを示すビットフラグ(16bit)です. | GBEventDispatcher |
Method | Defined By | ||
---|---|---|---|
GBEventDispatcher(videoFrameRate:Number)
GBEventDispatcherオブジェクトを構築します. | GBEventDispatcher | ||
connectModule(host:GrayBox):void | GBEventDispatcher | ||
disconnectModule():void | GBEventDispatcher | ||
initiModule():void | GBEventDispatcher | ||
process(procData:ProcessData):void | GBEventDispatcher | ||
resetModule():void | GBEventDispatcher | ||
resumeProcess():void | GBEventDispatcher | ||
setFrameRate(rate:Number):void
ビデオフレームレートを設定します. | GBEventDispatcher | ||
startProcess():void | GBEventDispatcher | ||
stopProcess():void | GBEventDispatcher | ||
suspendProcess():void | GBEventDispatcher | ||
updateAudioChannels(ch:int):void | GBEventDispatcher | ||
updateBypassStatus(bypass:Boolean):void | GBEventDispatcher | ||
updateProcessBlockSize(size:int):void | GBEventDispatcher | ||
updateSampleRate(sampleRate:Number):void | GBEventDispatcher |
Event | Summary | Defined By | ||
---|---|---|---|---|
MIDIチャンネルメッセージ イベント. | GBEventDispatcher | |||
MIDIシステムメッセージ イベント. | GBEventDispatcher | |||
SMFメタメッセージ イベント. | GBEventDispatcher |
dispMetaMessage | property |
public var dispMetaMessage:Boolean = false
SMFメタメッセージのイベント送出フラグです.
dispSystemMessage | property |
public var dispSystemMessage:Boolean = false
MIDIシステムメッセージのイベント送出フラグです.
midiInPorts | property |
public var midiInPorts:int = 0xFFFF
MIDIメッセージ情報の入力ポートを示すビットフラグ(16bit)です. 最下位ビットをポート1として16ポート分指定できます。 デフォルト値は0xFFFFで全ポートを対象としています。
GBEventDispatcher | () | Constructor |
public function GBEventDispatcher(videoFrameRate:Number)
GBEventDispatcherオブジェクトを構築します.
ParametersvideoFrameRate:Number |
connectModule | () | method |
disconnectModule | () | method |
public function disconnectModule():void
initiModule | () | method |
public function initiModule():void
process | () | method |
resetModule | () | method |
public function resetModule():void
resumeProcess | () | method |
public function resumeProcess():void
setFrameRate | () | method |
public function setFrameRate(rate:Number):void
ビデオフレームレートを設定します.
Parameters
rate:Number |
startProcess | () | method |
public function startProcess():void
stopProcess | () | method |
public function stopProcess():void
suspendProcess | () | method |
public function suspendProcess():void
updateAudioChannels | () | method |
public function updateAudioChannels(ch:int):void
Parameters
ch:int |
updateBypassStatus | () | method |
public function updateBypassStatus(bypass:Boolean):void
Parameters
bypass:Boolean |
updateProcessBlockSize | () | method |
public function updateProcessBlockSize(size:int):void
Parameters
size:int |
updateSampleRate | () | method |
public function updateSampleRate(sampleRate:Number):void
Parameters
sampleRate:Number |
midiChannelMessage | Event |
sora.graybox.event.GBEvent
sora.graybox.event.GBEvent.MIDI_CHANNEL_MESSAGE
MIDIチャンネルメッセージ イベント.
プロパティ | 値 |
---|---|
messageType | MIDIメッセージのイベントタイプの値 |
channel | 0-15 |
value0 | 0-127 |
value1 | 0-127 |
data | null |
midiSystemMessage | Event |
sora.graybox.event.GBEvent
sora.graybox.event.GBEvent.MIDI_SYSTEM_MESSAGE
MIDIシステムメッセージ イベント.
プロパティ | 値 |
---|---|
messageType | MIDIメッセージのイベントタイプの値 |
channel | 0 |
value0 | 0 |
value1 | 0 |
data | null またはメッセージデータ |
smfMetaMessage | Event |
sora.graybox.event.GBEvent
sora.graybox.event.GBEvent.SMF_META_MESSAGE
SMFメタメッセージ イベント.
プロパティ | 値 |
---|---|
messageType | MIDIメッセージのイベントタイプの値 |
channel | 0 |
value0 | 0 または特定の値 |
value1 | 0 |
data | メタイベントデータ |